package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;

/**
 * 考勤课时
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-11-2
 * Time: 下午2:14
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "TJX_KQKS")
@Entity
public class TjxKqks {
	private Long id;
	private Long pkjgxx; //排课结果信息
	private String kcmc; //课程名称
	private Long rq; //日期
	private Long jc; //节次
	private String kssj; //开始时间
	private String jssj; //结束时间
	private Long ls; //考勤教师
	private Integer kqzt; //考勤状态
	private Date kqsj; //考勤时间

	private String sfkq = "1"; //是否可以考勤

    @javax.persistence.Column(name = "ID")
    @Id
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @javax.persistence.Column(name = "PKJGXX")
    @Basic
    public Long getPkjgxx() {
        return pkjgxx;
    }

    public void setPkjgxx(Long pkjgxx) {
        this.pkjgxx = pkjgxx;
    }

    @javax.persistence.Column(name = "KCMC")
    @Basic
    public String getKcmc() {
        return kcmc;
    }

    public void setKcmc(String kcmc) {
        this.kcmc = kcmc;
    }

    @javax.persistence.Column(name = "RQ")
    @Basic
    public Long getRq() {
        return rq;
    }

    public void setRq(Long rq) {
        this.rq = rq;
    }

    @javax.persistence.Column(name = "JC")
    @Basic
    public Long getJc() {
        return jc;
    }

    public void setJc(Long jc) {
        this.jc = jc;
    }

    @javax.persistence.Column(name = "KSSJ")
    @Basic
    public String getKssj() {
        return kssj;
    }

    public void setKssj(String kssj) {
        this.kssj = kssj;
    }

    @javax.persistence.Column(name = "JSSJ")
    @Basic
    public String getJssj() {
        return jssj;
    }

    public void setJssj(String jssj) {
        this.jssj = jssj;
    }

    @javax.persistence.Column(name = "GXJG0101")
    @Basic
    public Long getLs() {
        return ls;
    }

    public void setLs(Long ls) {
        this.ls = ls;
    }

    @javax.persistence.Column(name = "KQZT")
    @Basic
    public Integer getKqzt() {
        return kqzt;
    }

    public void setKqzt(Integer kqzt) {
        this.kqzt = kqzt;
    }

    @javax.persistence.Column(name = "KQSJ")
    @Basic
    public Date getKqsj() {
        return kqsj;
    }

    public void setKqsj(Date kqsj) {
        this.kqsj = kqsj;
    }

	@Transient
	public String getSfkq() {
		return sfkq;
	}

	public void setSfkq(String sfkq) {
		this.sfkq = sfkq;
	}
}
